class HelloGroovy {
    static void main(String[] args) {
        println "=== Groovy Demo ==="
        println "Hello from Groovy running on GraalVM 25!"
        println "Java Version: ${System.getProperty('java.version')}"
        println "GraalVM Info: ${System.getProperty('java.vm.name')}"

        def languages = ["Java", "Kotlin", "Scala", "Groovy"]
        def message = "Languages: " + languages.join(" + ")
        println message
    }
}